            <TouchableOpacity style={styles.row} onPress={() => {
                if (this.lastRowID) {
                    tabs[this.lastRowID].hidden = true;
                } else {
                    tabs[0].hidden = true;
                }
                tabs[rowID].hidden = false;
                var newTabs = JSON.parse(JSON.stringify(tabs));
                this.setState({
                    dataSource: this.state.dataSource.cloneWithRows(newTabs)
                });
                this.lastRowID = rowID;//将上次点击过的储存起来
                this.getData(rowData.title);
                console.log(rowData.title);
            } }>
                <View>
                    <View style={styles.rowTitle}>
                        <Text style={{color: rowData.color}}>{rowData.title}</Text>
                    </View>
                    <View
                        style={[styles.underLine, {backgroundColor: rowData.color, opacity: rowData.hidden ? 0 : 1}]}/>
                </View>
            </TouchableOpacity>